﻿using UnityEngine;

public static class MathUtil
{
    public static Vector3 ToVector3(this float angle)
    {
        var rad = angle* Mathf.Deg2Rad;
        return new Vector3(Mathf.Sin(rad), 0, Mathf.Cos(rad));
    }
}